package com.horoscope.astrology.zodiac.signs.free.network.task

import com.horoscope.astrology.zodiac.signs.free.bean.CityResultBean
import com.horoscope.astrology.zodiac.signs.free.network.NetworkListener

class GetCityResult(
    startWith: String,
    featureClass: String,
    style: String,
    maxRows: Int,
    username: String,
    lang: String,
    listener: NetworkListener<CityResultBean>?
) : BaseTask<CityResultBean>(listener) {

    init {
        setApiAndCallBack(
            getApiCenter().getCityResult(
                startWith,
                featureClass,
                style,
                maxRows,
                username,
                lang
            )
        )
    }
}